package cn.jluzh.blog.modules.tag.entity;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 标签表
 * 
 * @author liangfeihu
 * @email liangfhhd@163.com
 * @date 2018-07-04 15:00:54
 */
@TableName("sys_tag")
@Data
public class SysTag implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@TableId(type = IdType.AUTO )
	private Integer id;
	/**
	 * 标签名字
	 */
	private String tagName;
	/**
	 * 标签图标
	 */
	private String avatar;
	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;

	@TableField(exist = false)
	private int articles;

}
